package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.ContactCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContactCompanyMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(ContactCompany record);

    int insertSelective(ContactCompany record);

    ContactCompany selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(ContactCompany record);

    int updateByPrimaryKey(ContactCompany record);

    List<ContactCompany> selectAll();

    ContactCompany selectBySid(String sid);

    List<ContactCompany> selectByType(@Param("typeSid") String typeSid);
}